Fix Runtime Inline PInvoke auto-generated code.