Revert "rwsem: simplify rwsem_down_write_failed"

This reverts commit 2a4fcdb160f40d22c1304dc6a512aee257f2c0bf.