Revert "rwsem: simplify __rwsem_do_wake"

This reverts commit 810de1dd794adcea8712ec7a011c5452210feabe.