gdbserver: convert regcache_cpy into regcache::copy_from

Convert the free `regcache_cpy` function to a method of the
regcache struct.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
3 files changed