[9.16] Make Debian 12 "bookworm" the base image

Backport of MR !8075 (merged)

Closes #3893 (closed)

Merge request reports