Dedup DIRECTORY_BY_MODULE_TYPE

[#50752269]

Use Metasploit::Model::Module::Ancestor::DIRECTORY_BY_MODULE_TYPE.