[PATCH 17/18] drm/vc4: hdmi: Move the pixel rate calculation to a helper