I was not aware that some camera bodies would write GPS data outside of the raw file
They don't. A camera body does not generate an xmp sidecar, everything the body registers is included in the EXIF fields in the raw frame.
The "problem" is created when one wants to add GPS data to pictures where the camera has no build-in GPS receiver. In my workflow, with the software I use, the GPS data (coming from a separate GPS device, not connected to the camera body), is written in a sidecar file.