Update atomic_rename.cc

small optimization