Fixing default.beamer includegraphics redefinition to allow custom options

Basically applying the same fix that default.latex got with 2c876edb6026e059f9cd0112ecd30e474866808e to the beamer template. Fixes jgm/pandoc#1088