videomodes: Add video_get_ctfb_res_modes helper function