os_support: Undefine lseek/stat/fstat before defining them

This avoids a number of redefinition warnings on MinGW64.
qt-faststart: Undefine fseeko/ftello before defining them

This avoids a number of redefinition warnings on MinGW64.