btrfs: make caching_thread use btrfs_find_next_key