Replace static const variables with constexpr, where applicable.