gdb: Fix more script permissions
gdb: Quick workaround to allow gdb to compile under newer gcc versions