Revert "Make gcc_solink_wrapper.py work with Python 3."

This reverts commit 8e8ed621fae465bf5f91c80c7669a7e1d0bdc770.

Reason for revert:
This seems to make link time of shared library extremely slow.

Repro
$ cat out/Release/args.gn
is_component_build = true
is_debug = false
enable_nacl = false
use_goma = true
# goma_dir = "~/goma_client/client/out/Release"
$ rm out/Release/libcontent.so
$ ninja -C out/Release libcontent.so # took more than 50 seconds vs 1 seconds without this CL

Original change's description:
> Make gcc_solink_wrapper.py work with Python 3.
>
> Make sure |line| is a string and not a bytes object.
>
> Bug: 941669
> Change-Id: Ief610b426326f849b49353c5cbce68deb0cd4b3b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2260872
> Commit-Queue: Nico Weber <thakis@chromium.org>
> Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
> Reviewed-by: Nico Weber <thakis@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#781381}

TBR=thakis@chromium.org,raphael.kubo.da.costa@intel.com

Change-Id: I67e0c5889212531c7eed913ce4f79448365281e0
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 941669
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2262363
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781740}
GitOrigin-RevId: 3cb52fe9ffe436ab7c8527cd70c7a42630e4639a
1 file changed