Cavaliers waive JR Smith