Spontaneous CPT Violation and Quantum Anomalies in a Model for Matter–Antimatter Asymmetry in the Cosmos