[PATCH 5.2 61/85] ubifs: Correctly use tnc_next() in search_dh_cookie()