Stability of functional differential systems applied to the model of testosterone regulation