[PATCH 5.15 020/139] media: v4l2-mem2mem: add lock to protect parameter num_rdy