Steph Curry nearly costs Warriors with unlikely mistake