btrfs: close devices without offloading to a temporary list