freedreno/ir3/ra: fix target register calculation