Investigation of the n = 1 resistive wall modes in the ITER high-mode confinement