correctly set opt_dir when building ruby-head for freebsd, fix #3179

the second call to requirements_freebsd_define had -head removed which lead to wrong path in handling opt-dir to /usr/local