gallium/dri2: Support images with multiple planes for modifiers