Issue #21118: PyLong_AS_LONG() result type is long

Even if PyLong_AS_LONG() cannot fail, I prefer to use the right type.