stats: fix non-dynamic counter registration

Due to a typo, all counters were registered as dynamic. This problem is fixed
by this patch.

Signed-off-by: Balazs Scheidler <bazsi@balabit.hu>