In hexagon convertToHardwareLoop, don't deref end() iterator