Remove 'refresh' argument from solarispkg.install

This argument is unused. Removed from function definition and a warning
is now logged when it is present and True.

Fixes #6211.