Minimal length in quantum mechanics and non-Hermitian Hamiltonian systems