[PATCH 5.4 190/321] ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit