Prevent libgcc from becoming a runtime dependency

Without -static-libgcc, libgcc becomes a runtime dependency of
libeay32.dll when building with mingw-w64 4.8.x and 4.9.x toolchains.