Fix regression when converting to nv12/nv21.