Fixes issue #17192: Update the ctypes module's libffi to v3.0.13.  This
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.
Issue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout
 (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed
 immediately)
issue #9090 : Limit the fix to windows since getting a portable simple
time function on non-windows isn't quite simple.
#8862: Fix curses cleanup with getchar is interrupted by a signal.

I have no idea how one would write a test for this.

Patch by July Tikhonov.
issue #9090 : Take the same approach for socketmodule as daytimemodule
when it needs support from timemodule (which is a .so on linux):
link in timemodule.c for the required functions.
- Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting
  db-5.x, and dropping support for db-4.1 and db-4.2.
Reindent files for:
- Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting
  db-5.x, and dropping support for db-4.1 and db-4.2.
- update config.guess and config.sub