[PATCH openEuler-5.10 88/89] audit: move put_tree() to avoid trim_trees refcount underflow and UAF