Former NBA All-Star joins Warriors' coaching staff