conform to new chefspec matcher definition syntax for versions of chefspec >= 4.1

chefspec 4.1.0 and greater displays depreciation messages when using the ChefSpec::Runner.define_runner_method syntax. This updates these to use the new define_matcher but should not break those using the older chefspec gem.