Duplicate libgcc.a in front of *so

Also see 6c7bc550adb917157a9f53ebf8898110e37294b2

Change-Id: Iade6cd6b40cd4840a148098e1d8fc7a0c97e2f66