Make error_mechanism more global due to move of gedcom_set_error_mechanism.