Fix broken build on 64-bit systems

Where G_GUINT64_FORMAT is %ld, so GCC complains about long long.