[Artifacts]: Support `using Pkg.Artifacts` with LazyArtifacts (#39210)
Just as we wanted to support users that used `using Pkg`, we should
support users that use `using Pkg.Artifacts` with their lazy artifacts.
This PR merely extends support to those users and adds regression tests.