[PATCH 4.9 165/264] random: check for signal and try earlier when generating entropy