[composer] Ensure that data defined page size and orientation is correctly set when printing directly from an atlas. (Note that mixed orientation prints are unsupported on some platforms/print drivers)