parsecsv: always check result of malloc()

RebiewBoard #670.

Patch by icchan. Thanks!


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5959 b64f7644-9d1e-0410-96f1-a4d463321fa5
CLI: use proper system headers.

ReviewBoard #671.

Patch by icchan. Thanks!


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5960 b64f7644-9d1e-0410-96f1-a4d463321fa5