[gdb/testsuite] Fix "unable to find usable gdb" error with cc-with-tweaks.exp