Clock extraction using saturable absorption in a semiconductor nonlinear optical amplifier