avcodec/h264: clear chroma planes when flags gray is used