Fixed error in cross-compilation Linux -> Android

Android don't have S_IREAD and S_IWRITE,
so added optional #define in /src/os/posix/dev-file.c