rm unused 'osdata' params from grains.core funcs

Fixes pylint W0613 warnings.