Do not add empty <figcaption> to <figure> tag

Change-Id: I7527f88e05318bfa6f0dbd5663294e7f0dd31a3e