[OpenVINO]Fix memory leak upon exception throwing (#5954)
1. Make sure to free the output_shape vector even if Output names mismatch between OpenVINO and ONNX exception is thrown
2. Piggy back this PR to remove un-needed call to fstream close method
Authored-by: modav <modav@microsoft.com>