fixed ffmpeg PHP extension source compile errors for PHP >=5.4