simplified aligned_as_integral from std::conditionl