std.mmfile: Improve error handling

Use wenforce instead of (inappropriately) errno.
Switch from if blocks to scope blocks.

Needs ~~https://github.com/D-Programming-Language/phobos/pull/2505~~
Actually, anonymous map files are already tested in the module unittest. I guess Windows accepts `NULL` as well as `INVALID_HANDLE_VALUE`.