asahi: move more code out of agx_preprocess_nir
we need to gather tex masks / lower mediump io before lowering textures for our detection to work ... also we want driver-side i/o soon lowering for Marek's thing anyway. do some code motion / pass reordering to make this doable.
in doing so, we get rid of agx_uncompiled_shader_info which is probably good.