HBO has entered into a multiyear pact with Amazon.com that makes the e-commerce company’s Prime Instant Video the exclusive online-based subscription VOD service to offer past seasons of the premium cabler’s originals like “The Sopranos” and “The Wire.”