Cleanup: remove -Impl decl in header

InstallPackageImpl doesn't need to be declared in header.

Helpers for stats logging are moved to anonymous namespace as well.

Bug: 281162849
Test: VendorApexHostTestCases
Change-Id: I1245f59b0cd0ea6d47b33c88b54e57e2af60218c
2 files changed