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
```
consumePath = typeof consumePath !== "undefined" ? consumePath : true;
      const ctx = this.ctx;
      const fillColor = this.current.fillColor;
      const isPatternFill = this.current.patternFill;
      let needRestore = false;
      if (isPatternFill) {
        ctx.save();
        ctx.fillStyle = fillColor.getPattern(
          ctx,
          this,
          ctx.mozCurrentTransformInverse
        );
        needRestore = true;
      }
      if (this.contentVisible) {
        if (this.pendingEOFill) {
          ctx.fill("evenodd");
          this.pendingEOFill = false;
        } else {
          ctx.fill();
        }
      }
      if (needRestore) {
        ctx.restore();
      }
      if (consumePath) {
        this.consumePath();
      }
    }
    eoFill() {