i5000_edac: Fix the logic that retrieves memory information