In contrast to libamdhip64, for which blender searches in multiple directories, libhiprt64 only had limited support for non-standard installation directories. With this commit, the library lookup for HIPRT is handled in a similar way in the original HIP/ROCm module. This also fixes issues for downstream Linux distributions where HIPRT support was enabled during build time but was not available at runtime. Co-authored-by: Torsten Keßler <t.kessler@posteo.de> Pull Request: https://projects.blender.org/blender/blender/pulls/131046