The X-ray emission of the gamma Cassiopeiae stars