cache: use atomic move to avoid using Lock()
cache: use atomic move to avoid using Lock()

Signed-off-by: Ruslan Kuprieiev <f6538312ce47017d734b1357aabc970ebf896e32@gmail.com>

dataversioncontrol/dvc,efiop/dvc,dataversioncontrol/dvc,dmpetrov/dataversioncontrol,efiop/dvc,dmpetrov/dataversioncontrol