A section of the A8 is to be closed overnight as essential works are carried out in Port Glasgow.