swscale: Update bitdepth range check