Ringgit finishes marginally higher against US dollar