Configuration:
- PDF.js version: 2.0.550

Steps to reproduce the problem:
1. Render document in SVG mode `renderMode="svg"`

What is the expected behavior? (add screenshot)
Rendering annotations same way as they rendered on canvas

What went wrong? (add screenshot)
```
Warning: Unimplemented operator beginAnnotations
Warning: Unimplemented operator endAnnotations
```
expect(data.length).toEqual(2
      const [oldData, newData] = data;
      expect(oldData.ref).toEqual(Ref.get(123, 0)
      expect(newData.ref).toEqual(Ref.get(1, 0)
      oldData.data = oldData.data.replace(/\(D:[0-9]+\)/, "(date)"
      expect(oldData.data).toEqual(
        "123 0 obj\n" +
          "<< /Type /Annot /Subtype /Widget /FT /Ch /DA (/Helv 5 Tf) /DR " +
          "<< /Font << /Helv 314 0 R>>>> " +
          "/Rect [0 0 32 10] /Opt [(A) (B) (C)] /V (C) " +
          "/AP << /N 1 0 R>> /M (date)>>\nendobj\n"
      
      expect(newData.data).toEqual(
        "1 0 obj\n" +
          "<< /Length 67 /Subtype /Form /Resources << /Font << /Helv 314 0 R>>>> " +
          "/BBox [0 0 32 10]>> stream\n" +
          "/Tx BMC q BT /Helv 5 Tf 1 0 0 1 0 0 Tm 2.00 2.00 Td (C) Tj ET Q EMC\n" +
          "endstream\nendobj\n"
      
    }
  }
  describe("LineAnnotation", function () {
    it("should set the line coordinates", async function () {
      const lineDict = new Dict(
      lineDict.set("Type", Name.get("Annot")
      lineDict.set("Subtype", Name.get("Line")
      lineDict.set("L", [1, 2, 3, 4]
      const lineRef = Ref.get(122, 0
      const xref = new XRefMock([{ ref: lineRef, data: lineDict }]
      const { data } = await AnnotationFactory.create(