Use AES ICM state counter to determine when to reinitialize the prng.

This patch fixes #5 by using the same logic aes_icm uses to determine if a request for random data can be fulfilled by the current state. Otherwise, the prng returns err_status_terminus prematurely.