btrfs: fix lost error handling when looking up extended ref on log replay