Fix calling protected method in register_shutdown_function.

Now it rase Exception.

<code>(Registered shutdown functions) Unable to call TCPDF::_destroyAll() - function does not exist</code>
Best way use:
<code>register_shutdown_function(array($this, '_destroy'), true);</code>