target/ppc: optimize gen_write_xer()