A note on generalized Lie derivations of prime rings