Fixed various warnings and OSX deprecations

git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@5544 63c20433-aa62-49bd-875c-5a186b69a8fb