engines: remove onnexttocentry from the callback

This method is only called in engines.cpp, not by the different
engine implementations. Therefore, it does not need to be exposed
externally.