btrfs: add assertion helpers for spinning readers