select: fix 64-bit timeout truncation on pre-time64 kernels