Characterization of chromium compensated GaAs as an X-ray sensor material for charge-integrating pixel array detectors