packages: avoid creating multiple modules with same build.zig
When there is a diamond dependency, reuse a *Module instead of creating
a redundant one using the same build.zig file. Otherwise, the compile
error "file exists in multiple modules" would occur.
db8217f9a0Andrew Kelley committed on 3/2/2023, 1:01:23 AMparent874d3a1