leveldb: Use native Darwin memory barriers

This prevents memory barriers from being optimized away on some compilers on OSX. May fix a cause of leveldb corruption issues.

See cfield's forum post:
https://bitcointalk.org/index.php?topic=337294.msg3714808#msg3714808