(#16668) ipaddress_spec 1.8.7 compatibility

 This commit adds a stub for kernel release and adds an explicit call to the
   WMI query mock. This fixes issues with running specs on ruby 1.8.7.