The 8-time NBA All-Star is set to make the move to the Dallas Mavericks ahead of Thursday's trade deadline