Bring IR_VERSION and some other changes into provider_api.h (#26765)
### Description
Copy the most recent changes and update IR_VERSION in provider_api.h
which was lost during the most recent update.
### Motivation and Context
Some changes from the most recent ONNX update did not make it to
provider_api.h.
This causes the max version check with version 11 fail for the newly
created models for DLL based EPs
even though compiled from the same tree.