blobmsg: add blobmsg_check_array, which returns the size of the array