btrfs: fix race in WAIT_SYNC tx commit
Accumulated fixes since 3.15..18 for Realtek drivers, required for upcoming BQL in r8169