Re-add libpq-dev workaround until HAF updates CI image reference
The common-ci-configuration MR was merged, but HAF templates still reference specific CI image tags that haven't been updated yet. Keep the workaround until HAF updates to use the new image.