private_membership: Solve remaining PSM component build issues

When running private_membership unittests, it is providing more
linking errors due to missing exporting some component build
symbols.

Also, one of issues is depending on another library
(i.e. private-join-and-compute), and that library doesn't
support component build. There is a CL to get its support
as well (crrev.com/c/3296027).

That CL is adding remaining coverage to support fully component
build for private_membership library and its dependencies. Also,
the private_membership component build only works on ChromeOS and
doesn't compile or being supported on Win.

Bug: 1241832, b:201763017
Change-Id: Ifce2a9a3c93ee22c9d02a11ebd28f1f9de188b57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3296024
Commit-Queue: Amr Aboelkher <amraboelkher@chromium.org>
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Cr-Commit-Position: refs/heads/main@{#944993}
NOKEYCHECK=True
GitOrigin-RevId: c332026a197e987397bfc7b776b81fa2a89ea196
9 files changed