avcodec/fits: Check bitpix