shared: add helpers for unaligend BE read/write
resolved: dns-packet - use unaligned read/write helpers
dhcp6: use unaligned read/write helpers