Walmart thinking ‘more cautiously’ about the consumer amid volatile sales trends