perf kmem: use ARRAY_SIZE instead of reinventing it