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