Replace naked Read-Modify-Write ops on shared values which will be banned.