Use IPSECSTAT_INC() and IPSEC6STAT_INC() macros for ipsec statistics
accounting.

X-MFC with: r252026
Correct CTASSERT condition.
Correct the size of allocated memory to store array of counters.