Though the Mavericks held the lead through three quarters, the Warriors took control of the contest in the final frame to earn a 126-117