Mortlake power station generating unit to be restored by end of year, Origin Energy says