[PATCH openEuler-5.10 78/92] video: hyperv_fb: Fix validation of screen resolution