Telecom giant AT&T Inc. has awarded a contract to host its web and mobile portals to Synacor Inc., ending a major portion of its 15-year old deal with Yahoo! Inc. The move by AT&T deals a blow to Yahoo!’s already shrinking search and display ad business and comes at a time when the struggling Internet giant is weighing offers from potential bidders.