PDF Output: Fix add ToC option not being used

PDF Output: Fix Table of Contents being added tot he end of the PDF even
without the Add Table of Contents option being enabled. Fixes #1194836 [When convert to PDF, it always create TOC at the end](https://bugs.launchpad.net/calibre/+bug/1194836)