[PATCH 4.14 160/217] media: v4l2-dv-timings.c: fix wrong condition in two for-loops