Simulation of the Mg(Ar) ionization chamber currents by different Monte Carlo codes in benchmark gamma fields