mlx4_core: restore optimal ICM memory allocation