When using C++11, use static_assert to implement COMPILE_ASSERT, as in
upstream https://codereview.chromium.org/77343005/ .