Mark constexpr values needed within non-implicitly-capturing lambdas as static