Fix stack corruption when using nullable types in dyncall.