Add `try_write` function to `FairRwLock`