Apply same workaround for s390x to client code as for the web extension

Apply workaround in 719b3a19 to remaing similar calls in client
codebase.

Fixes #260
6 jobs for wip/yet-more-s390x-ftbs in 19 minutes and 26 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build
passed #231697
fedora

00:10:25

passed #231698
ubuntu

00:10:11

 
  Test
passed #231699
deb-package

00:08:36

passed #231700
flatpak

00:05:45

 
  Deploy
passed #231701
review

00:00:25

manual #231702
allowed to fail manual
stop_review