Fix alignment assertion for 32-bit platforms