[PATCH 3/5] core: introduce dev_read_addr_name[_size]_ptr() functions