Effects of structural nonplanarity on the magnetoresistance of Permalloy circular rings