Make `core.stdc.stdint.typify` public

Also refactor a bit.