bpo-1635741: Port _sha3 module to multi-phase init (GH-21855)

Port the _sha3 extension module to multi-phase init (PEP 489).
Convert static types to heap types.
2 files changed