On the Hylleraas functional for a non-Hermitian unperturbed Hamiltonian