drm/i915: Replace some hand rolled max()s