Evolution of noncollinear magnetism in magnetocaloric MnPtGa