Update functions.php

After the upgrade to Wordpress 3.8 my thumbnails stopped working. This did the trick.