Make inreplace errors fatal

Closes #32649.
Closes #32703.
Rearrange build process cleanup to avoid spawning a reader thread

This is a follow-up to bbf9f7460fc8e6e4c63f5bbe8630b11ca53f3710.

If we read from the pipe before calling Process.wait, we can avoid
spawning a thread to do the read while continuing to avoid the deadlock
that the thread was introduced to solve.
Sqlcipher: fts option & openssl dep

Closes #32656.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
postgis: add a test

Closes #32667.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>