Build gdbm using xlc, emove dependency on libgcc

Changes to build gdbm using xlc for AIX. Removed dependency on libgcc.

@adamedx - Could you pull these changes?