On the nature of ionic liquid gating of Nd2−xCexCuO4 thin films