eal/arm: add rwlock operations for ARM