Move platform constraints to bazel_common_rules.

This enables sharing of platform constraints between platform and kernel builds.

Bug: 304594734

Test: treehugger
Change-Id: I651e4b18c942c7a710053ef39609b1dd57b3593c
1 file changed