Klay Thompson knocked down seven three-pointers as the Golden State Warriors earned a hard-fought Game 5 win over the Toronto Raptors.