Spanish protesters opposed to a government amnesty plan for Catalan separatists clashed with riot police in Madrid.