C API: Add `Py_GetBuildInType` and `Py_GetBuildInTypeBorrowed`

@bschoenmaeckers: What do you think? Can you fix the issue in RustPython?

Oops. I meant: I don’t get the motivation to modify CPython.