Forecasting Events in the Complex Dynamics of a Semiconductor Laser with Optical Feedback