Fix arm32 check to work on armv8 32bit mode