ISPN-5068 Make protostream jdk 6 compatible

Jira: https://issues.jboss.org/browse/ISPN-5068