Barcelona extend Marcos Alonso's contract until 2024