Add libarmmem as test target

Optionally compile in support for testing against libarmmem
(https://githun.com/bavison/arm-mem.git).