[ruby] fix openssl 'EC_GROUP_new_curve_GF2m' undeclared