arm: compile with generic rwsem