On the discrete spectrum of non-analytic matrix-valued Friedrichs model