ISPN-3712 Use 5.2.x compatibility layer to support rolling upgrades involving ByteArrayKeys

https://issues.jboss.org/browse/ISPN-3712

Pull https://github.com/infinispan/infinispan/pull/2225 first !