Fixed `Disasm.Basic.insn_of_mem` function.

Covered the issue with a test suite.