Warriors grind out win over Pelicans in Game 2