Warriors squander Curry's 40 points, lose to Grizzlies in OT