drivers-edac: i3000 replace macros with functions