Activity of the Jupiter co-orbital comet P/2019 LD2 (ATLAS) observed with OSIRIS at the 10.4 m GTC