This probably only worked on Little-Endian machines, but it's UB
there, too, of course.
Wasn't detected by the compiler because qsnprintf() doen't have
__attribute__(printf), for some reason.
Prepare the folded part of the line so a follow-up port to
std::snprintf() doesn't have to re-indent it.
Amends 3ee0be1013.
[ChangeLog][QtBluetooth][sdpscanner] Fixed a bug involving broken
serialization of SDP_(U)INT64 DTDs on Big-Endian machines.
Pick-to: 6.8 6.7 6.5 6.2 5.15
Change-Id: Ib4e24007cf498814f3c91b5a57e7dfd6a311926c
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>