Fix for figure.border.div handling

Even when `figure.border.div` parameter is enabled, do not add a <div class="border-box"> for figures that have an empty <figcaption>.