With PME on a separate PME rank running on a GPU, the PME mesh dvdl contribution was missing and also the foreign energy differences were incorrect. Fixes #4474