Update dism.rb

detect dism path based on architecture instead of environment vars
I think we'd rather prefer the selector that powershell uses to bring some consistency - https://github.com/puppetlabs/puppetlabs-powershell/blob/master/lib/puppet/provider/exec/powershell.rb#L7-L13