Bill Cosby channeled some dance moves from the opening sequence of “The Cosby Show” during his stand-up set at the “Late Show with David Letterman”…