avcodec/xan: Check for bitstream end in xan_huffman_decode()