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
docker-alpine x86_64
lint

00:00:22

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

00:01:14

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

00:00:47

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

00:00:45

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

01:05:12

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

00:00:35

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

00:00:53

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

00:00:48

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

00:00:36

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