mapnik: link to correct Postgres lib

Without this change Mapnik's postgis.input plugin will end up linking to the
apple provided `/usr/lib/libpg.5.dylib`, which will cause all sorts of odd and
broken behavior at runtime.

Closes #20003.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>