Redefine O_SYNC and O_DSYNC to match 2.6.33+ kernels.