ruby: enable openssl GF2m ECC support if ruby-openssl was selected.

GF2m ECC support is needed when compiling ruby-openssl. Link [1]
contains the detailed bug description.

[1] https://bugs.ruby-lang.org/issues/8384

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>