This reverts commit 5abf42012d in the blender-v4.5-release branch to work around HIP compiler issues. It will remain in the main branch. Ref blender/blender#139836
5abf42012d