server: Fix Mach vm region info datatype in write_process_memory().
server: Correctly report partial write size in Mach write_process_memory().