dmg: Make _memmem() static inline (will hopefully optimised away the switch),
enable 64-bit tests on 64-bit arch and disable unaligned checks on platforms
that does not support it.
dmg-opencl: Same fixes to _memmem().
ssh-ng: Provide an own static inline copy of _memmem() instead of using one from dmg.