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