Fix compilation error due to missing include.

This fixes compilation error due to missing header.

 SDL_anigif.cpp: In function ‘int AG_LoadGIF_RW(SDL_RWops*, AG_Frame*, int)’:
 SDL_anigif.cpp:293:37: error: ‘malloc’ was not declared in this scope
   gd = (gifdata*)malloc( sizeof(*gd) );
                                     ^
 SDL_anigif.cpp:418:11: error: ‘free’ was not declared in this scope
   free( gd );
           ^
 make: *** [TexturePacker] Error 1
Fix compilation error related to removed structure field by ffmpeg.

ffmpeg removed reference_dts field in struct AVStream.

Related ffmpeg commit:
  http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=2ba68dd044ca8fc591139c05563840f546a9c0c0
[info] factor out parsing of [] so it can be used to parse other strings
[info] [] parsing can use the new ReplaceString() function
[info] adds [] to info labels, allowing skinners to specify a number. Required as by default numbers are taken as a reference into localized strings.  In future, this will be dropped in favour of [] only being used as this will benefit translation
[rbp/omxplayer] Cosmetic: Avoid DVDPlayer in logging message

It makes people incorrectly think DVDPlayer has been running
[rbp/omxplayer] When reencoding thumbnails preserve orientation

Currently reencoded thumbnails are displayed without original orientation flag applied.
However we can write the Orientation field of IFD0 data, which means the cached thumbnail will be displayed correctly when decoded
[date/time] Return a bool from SetDate/Time to indicate a successful, valid, date
[date/time] validate SetFromDBDate() a little better
[date/time] have SetFromDateString() first attempt SetFromDBDate() before attempting to parse for a 'Sunday, April 15 2006' style date
[infoscanner] don't read into archives when looking for trailers
[infoscanner] don't do a CDirectory::Exists() check when we set a path hash to empty - it's expensive for some VFS filesystems, and it doesn't matter if we add non-existent paths to the database (should SetPathHash ever be called on a non-existent path)
[infoscanner] don't invalidate paths whenever DeleteMovie() is done if all we're doing is updating details in-place
[db] changed implementation of DeleteValues()
[db] get rid of FormatSQL() and use PrepareSQL() instead
[db] fix: adds missing close dataset in CPVRDatabase
Merge pull request #3919 from jmarshallnz/number_labels

Allow use of $NUMBER[] to specify a number in XML tags
Merge pull request #3956 from jmarshallnz/import_speedups

Video library: Import speedups
Merge pull request #3953 from jmarshallnz/date_time_validation

Date time validation
Merge pull request #3923 from popcornmix/cosmetic_log

[rbp/omxplayer] Cosmetic: Avoid DVDPlayer in logging message