Implement memory protection for the mapped module.
Remove FIXME:
  /* FIXME: Separate r/o vs. r/w segments.  */
Add testcase:
  compile code static const int readonly = 1; *(int *) &readonly = 2;