Fix early check that prevents a compiled model from being overwritten (#26439)
### Description
Fixes https://github.com/microsoft/onnxruntime/issues/26294
When using the old model compilation approach (session option
configuration), ORT should verify that the generated output model does
not already exist. Importantly, this check should be done _before_
calling an EP's compile() method. This PR fixes this check, which was
unintentionally disabled by a [previous
PR.](https://github.com/microsoft/onnxruntime/pull/25455).
Note that this check also (correctly) happens _after_ calling the EP's
compile() method, but it is better to catch it early if we can.
### Motivation and Context
Fixes a regression in the older compilation workflow.