target-mips: optimize gen_compute_branch()