GAP interatomic potential for amorphous carbon