Update src/pdfx-ext.dtx

Replaced first occurrences of \def with \newcommand