[PATCH] hostname: Use the ARRAY_SIZE() macro