pgsql: make wal receiver check compatible with PostgreSQL >= 11
In PostgreSQL 11 and later the wal receiver process is named
"walreceiver" instead of "wal receiver process". This change makes the
check for a running wal receiver process compatible with both variants.
Fixes #1551