GAIL shares gain 1.42% as Sensex rises