[PATCH 3/5] drm: Refactor plane src coordinate checks