Fix all call of ohai.platform to ohai[:platform]