media: v4l2-dv-timings.c: fix wrong condition in two for-loops