[VitisAI] Resolving compilation errors when using USE_VITISAI (#19368)
### Description
<!-- Describe your changes. -->
Resolving compilation errors when using USE_VITISAI
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
There will be compilation errors when USE_VITISAI is enabled
This is in addition to the #19058
Co-authored-by: Zhenze Wang <zhenzew@xilinx.com>