drm/i915: Refactor ilk_update_wm (v3)