Make pointer::byte_offset_from
more generic
#103489
Merged
pointer::byte_offset_from
more generic
#103489