debuginfo: Allow debuginfo tests to be ignored based on GDB version.