Urgent works are to be carried out on Greenock’s iconic Titan crane after a safety warning was issued over falling debris.