Former Golden State Warriors star Demarcus Cousins is done in the NBA