[PATCH v2] catpt: Switch to use list_entry_is_head() helper