HS_WCA use integer template arg for boxdimenison

Puts the boxdimenison handling in HS_WCA in the same form as for InversePower.
This should reduce the size of code needed to use cell lists with that potential later on.