[GDB] Atomic read/write for device memory