Fix InOutPointer.for for JRuby
Fix InOutPointer.for for JRuby

This method can now be called with types like :struct, which need to be
treated like pointers.

mvz/gir_ffi,mvz/gir_ffi,jcupitt/gir_ffi,jcupitt/gir_ffi,mvz/gir_ffi