community/phosh: fix compile error on 32-bits platforms

GTimeSpan is a long long int on 32-bits platforms. '%ld' only accepts
long ints, so that results into compile errors. Fix this by casting
`timeout_diff` to `long long` and change the format to use `%lld`.
9 jobs for !11036 with community/phosh-fix-build-error in 66 minutes and 52 seconds (queued for 1 second)
latest detached
Status Job ID Name Coverage
  Lint
passed #178923
x86_64 docker-alpine
lint

00:00:22

 
  Build
passed #178928
aarch64 ci-build docker-alpine
build-aarch64

00:01:14

failed #178946
docker-alpine ci-build armv7
build-armv7

00:00:47

passed #178927
ppc64le ci-build docker-alpine
build-ppc64le

00:00:45

canceled #178926
s390x ci-build docker-alpine
build-s390x

01:05:12

failed #178938
docker-alpine ci-build x86
build-x86

00:00:35

passed #178924
x86_64 ci-build docker-alpine
build-x86_64

00:00:53

failed #178929
armv7 ci-build docker-alpine
build-armv7

00:00:48

failed #178925
x86 ci-build docker-alpine
build-x86

00:00:36

 
Name Stage Failure
failed
build-armv7 Build
No job log
failed
build-x86 Build
No job log