Update gdbserver to detect starting flash address

Automatically detect the starting flash address.  If the address is
non-zero then erase page by page to prevent erasing bootloader code.
Otherwise perform a mass erase.  This patch also removes skip_bytes
from gdbserver since it is no longer needed if the starting flash
address is determined automatically.