if: fix bio flags for newer kernels

The old code was just bullshit.