SPARC: added SPARC support for new uimage in common code. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>