(shmif+) changed shmif_acquire API to be slightly more future-safe