Add loki_find helper to assist in automatically detecting offsets for
new devices. Note that the hdr value still must be manually located.