avcodec/txd: Fix input size checks for dxt1/3 for dimensions % 4 != 0