Get NumPy data pointer for dofs_per_column as size_t

Getting the pointer as an int is not always safe and can lead to an
OverflowError exception when the address is too large to convert.