gallium: redefine ATOMINC_WRAP to be more hardware-friendly