Spontaneous supercurrents and vortex depinning in two-dimensional arrays of 𝜑0 Josephson junctions