drivers/edac: fix edac_device init apis