Move STATIC_ASSERT to utils.h

STATIC_ASSERT is renamed to TR_STATIC_ASSERT (as utils.h is a public header).