Make setpageresources compatible with old LuaTeX
Bugfix: transform changes the position in the PDF

The internal position in the PDF was changed by the transform operator.
Therefore we now use pdf_save and pdf_restore whatsits