The composite X-ray spectra of radio-loud and radio-quiet SDSS quasars