Issue #19023: Merge ctypes doc and tests from 3.5