Spurs star Leonard will play in Golden State opener