[patch 10/11] z3fold: fix use-after-free when freeing handles