lima/gpir: complex fixes plus log2 exp2
This implements the restrictions described in lima/mesa#94 and implements exp2 and log2 which should finally work this time. This should hopefully fix the remaining regressions from the new scheduler in addition to getting jellyfish to finally work.