move the preproc condition of HAVE_RB_ARY_NEW_CAPA into hashes.c to
eliminate warning of unused variable