[ROCm] Extend GPU handle pool isolation to hipSparse and replace macros with inline functions
This change extends the GPU handle pool singleton isolation mechanism to include hipSparse alongside hipBLAS and hipSOLVER. Additionally, replaces function-like macros with type-safe inline functions.
Changes:
- Add opaque handle type separation for hipSparse to prevent HandlePool sharing
- Replace GPU library handle creation macros with inline function implementations
- Ensure each GPU library maintains isolated handle management