[PATCH 6.13 026/443] drm/tests: hdmi: handle empty modes in find_preferred_mode()