Measurement of hard X-ray coherence in the presence of a rotating random-phase-screen diffuser