corrections for pair style lj/sf/dipole/sf and its /omp variant
(cherry picked from commit f0c8b2af28a58485f6795cf85c7d88eaafa3e52a)