tridiag_worker: support for complex Hermitian matrices

Real/complex implementation is switched with a bool template parameter
of tridiag_worker. Set to real by default.