Klay Thompson made four 3-pointers in the final quarter and the Warriors survived a late comeback attempt by the Mavericks in Friday nigh