gdb: Guard against buffer-file-name returning nil