[PATCH 3/5] drm/probe_helper: extract two helper functions