Implement POSIX functions previously stubbed, clean up compiler warnings
Various functions in wholefls.c and bytesex.c were stubbed out with a #warning when not compiling for RISC OS. Add some basic POSIX implementations. Also clean up various compiler warnings thrown up by GCC/x86_64.
Apropos discussion in srcbuild merge request 7 - this fixes that problem in a different way.