mfd: twl-core: add atomic read-modify-write function