Add memory read/write support

Also pulled in MRI fixes to not use Platform_MemRead/Write* APIs when
accessing local variables on the stack within the debugger core itself
when processing the GDB memory read/write packets.