Method for forming integrated circuit structure with thinned contact