wal: set NOCOW flag for log in btrfs

we have the build flag above. why we need to check it here again?