Perform alignment checks for CAS on 32bits systems. Fixes #14426.