eal: memory barriers use intrinsic functions