Text this: Compensation of carrier lifetime in double-pass semiconductor optical amplifiers