Take LJ-PME into account for table spacing

The table spacing for the grid correction for Ewald interactions
only took Coulomb and not LJ into account. Note that with default
settings LJ tables can use a coarser spacing than Coulomb.

Change-Id: Ib0f831a2177bcf10ad9e03c6764cc155e89abdbb