core: read: add dev_read_addr_index_ptr function