OpenPrinterEx requests have also been observed in the wild carrying
non-utf16 garbage after the device mode devicename field null
terminator.
Signed-off-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 
90f3708135ef6573997417bd8e53191df78519c2)
        const int MAXDEVICENAME = 32;
 
        typedef [public,gensize] struct {
-               [charset(UTF16)] uint16 devicename[MAXDEVICENAME];
+               [charset(UTF16),to_null] uint16 devicename[MAXDEVICENAME];
                spoolss_DeviceModeSpecVersion specversion;
                uint16 driverversion;
                uint16 size;