Steph Curry called a time-out that the Warriors didn't have, nearly costing his side the win against the Kings