split ath_hal_reg_write_tgt and reuse it in ath_hal_reg_rmw_tgt