Stability analysis of a three-stream quantum-plasma equilibrium