Avoid large stack usage in SCT_GetPotentialValue (Coverity defect 12641) by making array static constexpr.