update FFI::MemoryPointer.{read,write}_size_t patch to work with jruby.

Also JRuby FFI seems to be missing read_uint{32,64} so provide those as
well.