Write to debugger memory
ea - linear address
data - string to write
returns: number of written bytes (-1 - network/debugger error)
Thread-safe function (may be called only from the main thread and debthread)
long write_dbg_memory(long ea, string data);