Revert "remove rwsem.h from mm_types.h"

This reverts commit 490153fff2894e7cc0de2a5fd6b19c3c06d28979.
Revert "Revert "Optimized ARM RWSEM algorithm""

This reverts commit 5ba1c921ea5cb054a4deed23c7fc82dd82928751.