fix grains.setvals: also update loaded grains

Fixes #11604
Merge pull request #11632 from ze42/fix-grains.setvals-11604

fix grains.setvals: also update loaded grains