[PATCH 4.19 32/50] ubifs: Correctly use tnc_next() in search_dh_cookie()