configure.ac: Move the pkg-config checks to the end

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
src/riemann-client.c: Fixed the PRId64 usage

Oops, it needs a % in front!

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>