Fix building Python integers from size_t values

Use the `n` format specifier instead of `l` to build Python integer or long integer objects from size_t values.