Core/Maps: Don't load vmaps/mmaps if disabled in configs

Don't try to load vmaps/mmaps if they are disabled in the configs.