AIX: XLC build changes to resolve core dump issues (-O -qhot)

This pull request consists of changes to build ruby using CFLAGS += -O -qhot. (Resolve core dump issues on AIX)