kernel/posix: Do not use thread_block_locked()
kernel: Add read write spinlock implementation
kernel: Change Thread::team_lock to rw_spinlock