* gdb.base/relocate.exp: Test add-symbol-file with a variable