[PATCH v2 10/14] drm/vc4: hdmi: Move clock calculation into its own function