Make get_the_post_format_image() work when intermediate_image_sizes is empty.

props lancewillett. fixes #24060.

git-svn-id: http://core.svn.wordpress.org/trunk@24003 1a063a9b-81f0-0310-95a4-ce76da25c4cd