Update ghostpoints.f90

bugfix in ghost points with 1D data distribution