Mavericks to work out former All-Star center