Oscillatory changes in the tunneling magnetoresistance effect in semiconductor quantum-dot spin valves