btrfs: fix a use-after-free when hitting errors inside btrfs_submit_chunk() (CVE-2024-46687) | HOL Guard CVE