Cavaliers hold off Bobcats, 45-38