Use :as_platform in the redhat service spec
This spec was stubbing features to make Puppet::Util.absolute_path? behave as
if on posix, but changes in #12101 made that method use File::ALT_SEPARATOR.
It also introduced the :as_platform context for specs to abstract this type of
stubbing.