Real Madrid 'had €30m agreement' for Brazilian Pedro Guilherme