Adjust struct alignment

Reduce the size of ScanEnv structure from 184 bytes to 176 bytes on
64-bit platforms. The size is not changed on 32-bit platforms
(108 bytes).