A Swindon man has been jailed for sexually assaulting a child after being found guilty by trial.