DEV: Use postgres 12 in GitHub Actions CI (PR #10043)

12 is now the recommended and widely deployed version.

GitHub