vp9: de-duplicate some functions that are identical between 10/12 bpp.