Simulation of a tunable optically pumped terahertz intersubband laser with diluted magnetic semiconductors