Measurements of the magnetoresistance effect in Co/Pt multilayers grown on patterned substrates