prctl: use a macro to retrieve args
prctl: simplify arg handling