res_fax: Fix out of bounds error in update_modem_bits().

ASTERISK-24357 #close
Reported by: Jeremy Laine
Patches:
      res_fax_bounds.patch (license #6561) patch uploaded by Jeremy Laine
	  Modified patch to not use magic numbers.
........

Merged revisions 423979 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 423983 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 423987 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 423992 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@424016 f38db490-d61c-443f-a65b-d21fe96a405b
core: Ouch, forgot to undo a test free() in r423978.


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@424038 f38db490-d61c-443f-a65b-d21fe96a405b
format_mp3: Made the get script conditionally apply patch if not already there.

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@424039 f38db490-d61c-443f-a65b-d21fe96a405b