postgresql_privs: fix wrong codec specification

Use psycopg2's mapping from PostgreSQL encoding names to Python codec names.
Merge pull request #2835 from b6d/postgres_privs-fix

postgresql_privs: fix wrong codec specification