High-dimensional neural network potentials for magnetic systems using spin-dependent atom-centered symmetry functions