[PATCH v6 3/7] drm/vc4: hdmi: Move clock calculation into its own function