Fix OME-XML BinData decoding

This should fix decoding problems introduced in gh-1421, so all Bio-Formats 5.1 merge builds should turn green once this is included.  The main thing to verify is that the OMERO integration builds remain green.