[genesis] support publishing modules that use the friend feature in genesis
[genesis] support publishing modules that use the friend feature in genesis

cabfd2513eba5f74177afc4f871766fc28717170 added support for multi-module publishing, but the genesis code still uses the single-module publish API. This will cause crashes if Move modules use the `friend` feature--the bytecode verifier will report a missing dependency.

This PR fixes the issue, but also forces all genesis modules to be published under the same address, which is potentially limiting. Fixing this would require some cleverness in deciding when to use single module vs multi-module publishing while maintaining the topological order.

Closes: #8779

aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,libra/libra,aptos-labs/aptos-core,libra/libra,libra/libra,libra/libra,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core