[PATCH 6.4 187/239] btrfs: check if the transaction was aborted at btrfs_wait_for_commit()