fixed direct-mapping type-mapped pointer result types

As described/discussed/requested in https://github.com/twall/jna/issues/317