(Note: This commit also modified text-freetype2) The implementation of get_modified_timestamp() did not check the return value of stat(), so in case the check fails the values in the stats structure can be any garbage on the stack and the value of stats.st_mtime can change on every call. This can trigger a reload of the image every second, even if the file was not actually modified. Closes jp9000/obs-studio#520