High gas prices and weaker pharmacy sales pushed Walmart's growth to its slowest pace in six years