chore: use Java 21 for building pgjdbc by default
Note: the resulting binaries still target Java 8, so the change should not
be use-visible.
However, we would use a newer toolset which should result in fewer bugs in
the generated binaries.
wal_keep_segments is deprecated since PostgreSQL 13, so remove it from appveyor.yaml