Merge pull request #10926 from shuffle2/old-gcc-warning SHA1/arm64: fix casting warning on certain gcc