For ITS#7789: Ensure mapsize >= pages in use.
For ITS#7789: Ensure mapsize >= pages in use.

Check new mapsizes against mm_last_pg.  Move
mdb_env_init_meta0() so it can set mm_last_pg earlier.

bobek-balinek/BlueJet