Define ManagedPointer.size (not defined on JRuby)
JRuby does not support Pointer#slice — it’s just a safety net anyway

https://github.com/jruby/jruby/issues/608