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
```
imgToPaint = tmpCanvas.canvas;
      }
      const scaled = this._scaleImage(
        imgToPaint,
        ctx.mozCurrentTransformInverse
      );
      ctx.drawImage(
        scaled.img,
        0,
        0,
        scaled.paintWidth,
        scaled.paintHeight,
        0,
        -height,
        width,
        height
      );
      if (this.imageLayer) {
        const position = this.getCanvasPosition(0, -height);
        this.imageLayer.appendImage({
          imgData,
          left: position[0],
          top: position[1],
          width: width / ctx.mozCurrentTransformInverse[0],
          height: height / ctx.mozCurrentTransformInverse[3],
        });
      }
      this.restore();
    }
    paintInlineImageXObjectGroup(imgData, map) {