Remove linked_statically_by attribute for test
Remove linked_statically_by attribute for test

This is in preparation to renaming linked_statically_by to exported_by. The attribute linked_statically_by became redundant in a previous CL that added the static_deps attribute and made libraries in exports be linked statically automatically.

RELNOTES:none
PiperOrigin-RevId: 293355106
Change-Id: Iac987087e2f8e280f0fcaa2b7fcf61c55542825b

bazelbuild/rules_cc,bazelbuild/rules_cc,bazelbuild/rules_cc,bazelbuild/rules_cc