[PATCH 6.12 291/393] btrfs: tests: fix chunk map leak after failure to add it to the tree