Curry's clutch shot buries Mavericks