Use static_assert instead of COMPILE_TIME_ASSERT_FUNCTION_SCOPE

Test: builds OK
Change-Id: I5923dce96e43d7107f1d8e3145ad4bb5eca261e7
4 files changed