The upgrade of the ATLAS Level-1 Central Trigger Processor