libfreerdp-codec: improve xcrush compressor error checking