rwsem: R/W semaphores implemented using ARM atomic functions

Change-Id: Id10e8c9b04b51f435e477aab91a2869497c04948