connection, client: Avoid locale-dependent float printing

Specifically, in the log formed when WAYLAND_DEBUG is set, this commit
ensures that floating point numbers are formatted using '.' instead of
the locale-specific decimal separator. As the debug logs are not
otherwise localized for end-users, and may be parsed by scripts, it is
better to have consistent output here.

The 24.8 fixed point numbers are now represented with 8 digits after
the decimal, since this is both exact and simpler to compute.

Signed-off-by: Manuel Stoeckl <code@mstoeckl.com>
3 jobs for no-pctf in 1 minute and 17 seconds (queued for 6 seconds)
latest
Status Job ID Name Coverage
  Review
passed #11976737
check-commit

00:00:10

 
  Prep
passed #11976738
debian:buster@container-prep

00:00:44

 
  Build
passed #11976739
build-native

00:00:22