OPENDJ-1567 CR-4823 correct argument order and error checks in newOffsetControl

git-svn-id: https://svn.forgerock.org/opendj/trunk@11118 41b1ffd8-f28e-4786-ab96-9950f0a78031