Gaussian process policy iteration with additive Schwarz acceleration for forward and inverse HJB and mean field game problems