Skip empty DBs in WiredTigerEngine::listDatabases

MMAPv1's listDatabases looks at the filesystem, so it implicitly doesn't
return databases that satisfy DatabaseCatalogEntry::isEmpty.