fixed compilation error with undefined ARRAY_SIZE

Signed-off-by: Andriy Prystupa <andriy.prystupa@globallogic.com>
[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...
Merge pull request #5760 from cisco-open-source/compilation_fix

fixed compilation error with undefined ARRAY_SIZE
dvdplayer: observe pts counter overflow
vdpau: advanced settings for auto deinterlacing
ActiveAE: slightly reduce buffer size
ActiveAE: add some debug logging
pthreads: use mutex protocol PTHREAD_PRIO_INHERIT
vaapi: lock gfx context on pre-cleanup
Bump xbmc-pvr-addons ref