Fix a performance issue when converting NV12 to NV12.

An user reported some performance issues when using software decoding (https://trac.mpc-hc.org/ticket/4357). Partially reverting 51a51dec52d9b89246878f47187d5dcaedb64b83 seems to fix the issue.

Note that this is mostly a bug report, not that much a real PR.