Comcast beat Wall Street’s expectations for third-quarter earnings — despite headwinds in its theme parks business — thanks to continued strength in its media unit. The…