Additively manufactured biodegradable porous magnesium