h264: check that luma and chroma depth match