Do not output default gallery styles if the theme has opted into HTML5 galleries.

fixes #27045. see #26697.


git-svn-id: https://develop.svn.wordpress.org/trunk@27396 602fd350-edb4-49c9-b593-d223f7449a82