The reentrant behaviour of the spin-1 Ising model in the effective-field approximation