unify 16-bit Bayer formats via variable bit shift