libgeom maintains a quasi-private mapping of /dev/devstat, which might grow
over time if new devices appear. When the mapping needs to be expanded, it
maps over the old region with MAP_FIXED, but there is no readily apparent
reason for doing it this way. Moreover, it seems incorrect as it could
trample over an existing mapping.
Thus:
- stop using MAP_FIXED,
- don't creat a mapping in geom_stats_open(), as geom_stats_resync() will
create it for us,
- check for errors from munmap().