Revert "fix duplicate rwsem.h"

This reverts commit 1c2a6452a75072a0c6740c27d61ef8345fca59b6.
Revert "Optimized ARM RWSEM algorithm"

This reverts commit 0c91add83aaa1b70426ba757ae1afc02fd8804e8.