ci: fix uploading build artifacts to S3 for freebsd
When the `freebsd` workflow has become a matrix one in 0bd15468
("ci: mv freebsd testing from per-commit to nightly"), we forgot
to do the corresponding changes in the `Upload artifacts to S3` step.
So adding missing changes.
NO_DOC=ci
NO_TEST=ci
NO_CHANGELOG=ci
(cherry picked from commit 5fa3d5a2)