Fix file permissions
Drop obsolete <minix/compiler.h> and <minix/crtso.h>

Change-Id: I05da32bd2bdf014b6fd5c39d6e808d3c73812dc0
Env_memory_parse: move into VM

Only possible user of that function.
While here, fix bug about NR_MEMS vs MAXMEMMAP
NR_MEMS=16 is currently less than MAXMEMMAP=40; avoid overriding