mount: Ignore EAGAIN returned by read/write

This is needed for some platforms (for example: Cygwin), because there
is no guarantee that read and write syscalls won't return EAGAIN after
POLLIN or POLLOUT bit is set when calling poll.

Change-Id: If7793d204322851a79fa280f675cb2965271abc3