Downgrade the trivy-action in the build job from v0.36.0 to v0.35.0 (pinned to an allowed action hash). The v0.36.0 hash is not on the owncloud/ocis allowed-actions list, which fails the release pipeline. Backport of the relevant part of #12504 to stable-8.0. Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>