Thompson, Warriors hold off Pistons for fifth straight win