chan_mgcp: Properly handle malformed media lines

This corrects a situation in which a media line was not parsed properly
and resulted in a crash.

(closes issue ASTERISK-21190)
Reported by: adomjan
Patches:
    chan_mgcp.c-sscnaf_fix uploaded by adomjan (License 5448)


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/1.8@401537 f38db490-d61c-443f-a65b-d21fe96a405b