pub(crate) const fn to_nonzero(n: Option<u32>) -> Option<NonZeroU32>