freedreno/ir3: two pass register allocation