i915g: Check for the scanout-layout conditions before setting level info.
Fixes leaks (release) or assertion failures (debug) on allocating small scanout resources, when falling through to the non-scanout-specific layout code, which became more common as of ad50b47a ("gbm: assume USE_SCANOUT in create_with_modifiers").
Cc: mesa-stable