fix missing O_LARGEFILE values on x86_64, x32, and mips64