Reload grains when reloading modules for states

Fix for #15125.