Now that the type gathering function look at instructions that might have other types, return invalid type instead of crashing. That invalid will be properly ignored later.
Fixes: c1275052 "nir: add type information to load uniform/input and store output intrinsics"