replace COMPILE_ASSERT with static_assert in components/

BUG=442514

Review URL: https://codereview.chromium.org/794683005

Cr-Commit-Position: refs/heads/master@{#309464}
28 files changed