Patches to make Firefox work again

-- Various cleanup stuff
-- Support both legacy (Ubuntu 12.04) value for PTRACE_EVENT_SECCOMP and upstream value
-- Map global scratch buffer into replay process with PROT_NONE to make Firefox madvise probing for unmapped memory replay correctly