[bazel] Use True/False instead of 1/0 for boolean rule attributes (#241738)
Replace remaining integer `0` and `1` literals passed to boolean rule
attributes (`testonly`, `linkstatic`, and `linkshared`) with `False` and
`True`, matching Buildifier's `boolean-value` lint and strict boolean
attribute typing in newer Bazel releases.
Assisted-by: Gemini