specs: test Puppet 3.1.0, only set libdir where required

Bump puppetlabs_spec_helper for #18165, fixes 3.1.0 libdir initialisation