[PATCH 5.4 48/48] audit: move put_tree() to avoid trim_trees refcount underflow and UAF