[U-Boot] [PATCH v2 12/14] powerpc: move get_pvr() and get_svr() into C