[PATCH 5.14 429/432] drm/panfrost: Simplify lock_region calculation