gdb/sh: Use default gdbarch methods where possible