Constraints on dark matter powered stars from the extragalactic background light