Use PDPageFitDestination instead of PDPageXYZDestination - so your code looks like this now:
PDPageFitDestination dest = new PDPageFitDestination();
PDActionGoTo action = new PDActionGoTo();
action.setDestination(dest);
document.getDocumentCatalog().setOpenAction(action);