AMD Kernel Compatibility Fixes (#3180)
* Guard against APIs not available on AMD in reduction_utils, code cleanup
* More API alignment simplification
* Int conversion fix
* Syntax
---------
Co-authored-by: Logan Adams <loadams@microsoft.com>
Co-authored-by: Logan Adams <114770087+loadams@users.noreply.github.com>
Co-authored-by: Ammar Ahmad Awan <ammar.awan@microsoft.com>