fix build failure with --cmake_extra_defines onnxruntime_DEBUG_NODE_INPUTS_OUTPUTS=1 (#8587)
* fix build failure with --cmake_extra_defines onnxruntime_DEBUG_NODE_INPUTS_OUTPUTS=1
* another compile error and add onnxruntime_USE_ROCM
* braces alignment
Co-authored-by: suffian khan <sukha@microsoft.com>