monkey patch read_size_t and write_size_t into FFI::MemoryPointer