kmod/core: validate dynrela destination address

Ensure that dynrela destination addresses are within the patch module's
memory.

Also, use the module address ranges to check whether set_memory_rw() is
needed.
Merge pull request #223 from jpoimboe/dynrela-loc-check

kmod/core: validate dynrela destination address