[PATCH 6.1 436/772] ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit