c++: constantness of local var in constexpr fn [PR111703, PR112269]