Fixes a bug in the Java 6 JVM where primitive arrays have a wrong type.

Fixes FLINK-910 and updates TypeInfoParser.