Curry steps up in 4th and OT as Warriors beat Mavs