more inlining of API ops.

fix an int/enum issue

distinguish 32/64 bit atomics in comms API.  Implement in gasnet.