[PATCH] qmgr: Use the ARRAY_SIZE() macro