Revert "HIP: Fix compare_image util (#344)" (#349)

This reverts commit 4a4a8187eabe31053506776be079b9bd278c5393.

What I assumed to be a neutral change seems to not be fully neutral. We need some time to investigate. Reverting for the time being.
1 file changed