SAN FRANCISCO (Reuters) - When Wal-Mart Stores Inc reports second-quarter results on Thursday, it will provide a much-awaited glimpse into the state of consumer spending as measured by the billions of dollars that flow through its cash registers every quarter.