Move FMT_STATIC_ASSERT to header and test.