[U-Boot] [PATCH v2 1/8] log: Fix incorect range check in log_get_cat_name()