Add :c:func:`PyLong_GetSign` function. Patch by Sergey B Kirpichev.