btrfs: fix crash/invalid memory access on fsync when using overlayfs