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)
@adamedx : Can you please take care of the pull request.