Stephen Curry scores 36 points and dishes out six assists as the Golden State Warriors end a three-game losing streak by beating the Orlando Magic.