tool chain: disable -Werror for building GDB

Thanks to @duralog for reporting the issue!

Fixes #1214