Make NativeCallOps.toJNAType handle type objects gracefully.