MAINT: add a configure check for ftello and fseeko

Works on Ubuntu/Debian, might require lfs macros on some platforms to
succeed, but its also defined by Python.h so it should mostly work.
TST: document reason for truncate instead of seek past end