Bug 808121 - Ensure the pointers we change in the r_debug data are writable, which they aren't with upcoming Android system linker. r=nfroyd
Fixup for dl_iterate_phdr after bug 808121. r=me
Bug 824715 - Correctly calculate next page offset in custom linker; r=glandium