[PATCH 07/39] arm64: entry.S: move SError handling into a C function for future expansion