[PATCH stable 4.9.y] random: restore O_NONBLOCK support