Samsung mach/soc changes for v5.12

Three fixes for S3C24xx: one for building with clang and two for
warnings.