avcodec/mjpegenc_common: Store approximate aspect if exact cannot be stored