utils: Check if the parameter passed to countof() is actually an array type