gdbserver: turn target op 'read_auxv' into a method