Fix issue with duplicate method declarations in phpthumb.class.php

Fixes #11700