Add helper function to make prctl system call.

Docker-DCO-1.1-Signed-off-by: Mrunal Patel <mrunalp@gmail.com> (github: mrunalp)

Dicing up the user namespace PR into smaller pieces.