Glentoran went a step closer to earning automatic European qualification as a goal in each half edged out Coleraine at The Oval.