Merge 2.4 into master

Original pull requests:

* #2771 from SpecLad:pvs-checks-opencv
* #2793 from alalek:run_android_env
* #2796 from berak:b_3674_24