zip: fixed crash on aligned systems, sparc, etc