Eliminate a bug in detection of the PG datadir.

/proc/[pid]/commandline may contain not only -D.
Instead of hard-coding the position of the data directory,
look for the field right after -D.