Handle kthread_create() ENOMEM failures.

Kernels >= 3.13 can return ENOMEM from kthread_create().  Handle this
case by retrying until success.