Don't call select in rd_select_() when the input file descriptor
is less than zero, as this causes a buffer overflow abort when
openlava is built with fortify for debian packages.