root: cherry-picked Add constexpr SMatrix constructor patch