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
```
const loadingTask2 = getDocument(
        buildGetDocumentParams("issue11442_reduced.pdf")
      );
      const promise1 = loadingTask1.promise
        .then(function (pdfDoc) {
          return pdfDoc.getOpenAction();
        })
        .then(function (openAction) {
          expect(openAction.dest).toBeUndefined();
          expect(openAction.action).toEqual("Print");
          return loadingTask1.destroy();
        });
      const promise2 = loadingTask2.promise
        .then(function (pdfDoc) {
          return pdfDoc.getOpenAction();
        })
        .then(function (openAction) {
          expect(openAction.dest).toBeUndefined();
          expect(openAction.action).toEqual("Print");
          return loadingTask2.destroy();
        });
      await Promise.all([promise1, promise2]);
    });
    it("gets non-existent attachments", async function () {
      const attachments = await pdfDocument.getAttachments();
      expect(attachments).toEqual(null);
    });
    it("gets attachments", async function () {