fixed compilation error with undefined ARRAY_SIZE

Signed-off-by: Andriy Prystupa <andriy.prystupa@globallogic.com>
Merge pull request #5760 from cisco-open-source/compilation_fix

fixed compilation error with undefined ARRAY_SIZE