Coverity 1212287

Both sides of the conditional && were evaluting the same thing: "fdflags &
QIO_FDFLAG_WRITEABLE.". The comment suggests that it should be checking for
readability and writeability.

See CID 1212287