thread_unblock(): allow a thread to unblock itself.

A blocked thread can still execute signal handlers which could possibly trigger
a thread_unblock() on itself, hence there is no reason to forbid that.