Home Depot unit buys GMS for $4.3B in bidding war