From Upstream git, two patches to fix sparc/sparc64 specific compile issues. Fixes: http://autobuild.buildroot.org/results/c35/c35f9b78b8f114bb795ed162585d707331954b4b Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>