dm: sparc: Fixup the compile warnings in sparc code