Gunnedah man jailed for child sex offences