dencoder: add JournalPointer to types.h

Signed-off-by: John Spray <john.spray@inktank.com>