Read /proc/<pid>/auxv using the real-pid of the target.

Resolves #1150.