Switch to lowercase riscv M1 defines.
Add setenv.
Implement getenv for x86, amd64, aarch64, riscv32 and riscv64.
Inside is a standard C library for those who need to bootstrap from nothing. As all of the pieces inside will work with M2-Planet and mescc-tools