Cleanup: everything in `components/misc/constants.hpp` should be constexpr
Most of the constants in components/misc/constants.hpp are declared in a wrong way:
- All constants defined in a header should be
constexpr, otherwise it will be included to the binary several times.std::stringcan not be constexpr, so it can changed intostd::string_view. -
staticshouldn't be used in headers for non-class-member variables.