Pulsar test of a violation of discrete symmetries in gravitation