aco: fix DCE of rematerialized phi operands
Fixes: d48d72e9 ('aco: Initial commit of independent AMD compiler')
Spilled Phis don't exist anymore at the point where we flag the operand as being needed, so I moved that up to a point where all phis are still present.