libc: Prevent writer starvation in fibril_rwlock_t.
Thanks to Miroslav Cimerman for pointing this issue out.