Revert "Link libgcc.a before shared libraries (especially libc.so)."

This reverts commit 0695cb926acd2a6aa738fc49c0f66e30c7121250.