Factor out special case code for :gboolean and :utf8 in InOutPointer.
Factor out special case code for :gboolean and :utf8 in InOutPointer.

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