Generalized dispersion relation for electron Bernstein waves in a non-Maxwellian magnetized anisotropic plasma