Update default RGL hook to handle a vector for options$dev

Currently, if

    opts_chunk$set(dev=c('png', 'pdf'))

is set and RGL plots are included, knitr will choke on producing the two formats of plot in RGL chunks, although normal plotting works fine. This change means that RGL plots can be saved in multiple formats, without polluting the Markdown file with multiple copies of the same figure.