Former Spurs forward to work out for Warriors