fix HierarchicalMNS for CUDA with iccifort, push comp_versions definition out of for loop