[depends] ffmpeg: define make threads if number of cpu cores detection fails

fixes native building on some ARM platforms
Merge pull request #5757 from wsnipex/ffmpeg-arm-build

[depends] ffmpeg: define make threads if number of cpu cores detection f...