New function gedcom_set_compat_options.