McCain: Palin didn't take earmarks as governor