Fix uninitialized variables warnings
Fix compilation when mipi-csi option is disabled
Adapt video memory limit according to wandboard version
(cherry picked from commit 11a509c6d0958741af52fd85661c08975d1e271d)