[PATCH RESEND] EDAC/altera: Fix possible null pointer dereference