Tentative fix for #694: Segfault in MXFunctionInternal::evalSX