util: add common ARRAY_SIZE define

I want to use this in more places, so put it in util.h rather than
copying & pasting it into another file.

Signed-off-by: Mike Frysinger <[email protected]>
Signed-off-by: David Gibson <[email protected]>
3 files changed