Stifel struck a more cautious tone ahead of Home Depot’s third-quarter results, cutting its rating on the retailer to Hold from Buy as it flagged mounting pressure across the home-improvement sector.