don't check transparency via JNA if the JDK API is available (IDEADEV-40878)