Klay Thompson had 14 fourth quarter points and the Warriors rallied late in a 97-87 win over the Pelicans.