edac: move nr_pages to dimm struct