jp12serial_compat: fix writeRemote() function

The writeRemote() function is supposed to erase the area before writing it.
Fix that.