[ticket/10687] Improve error message if unable to get image dimensions

The error message that is presented if getimagesize() was unable to determine
an image's dimensions now additionally states that this might be caused by an
incorrect URL.

Ticket: http://tracker.phpbb.com/browse/PHPBB3-10687

PHPBB3-10687