Fix alignment computation (required for SPARC)