[ARM] unify ARM32 and ARM32VE lock implementation.

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>