[PATCH v6 1/2] include: add atomic read/write of pointers