drm/i915: fix wrong order of parameters in port checking functions