[PATCH 4.9 172/264] random: check for signal_pending() outside of need_resched() check