Improve error reporting in gdimagefile test.
Add gdTestAssertMsg(condition, message, variables) to support detailed failure messages.