lwinput: Fix NV12/NV21->YUV420P for unwritable buffer.