ocl::moments and ocl::stereoBM bugs fix

Make them work on all ocl platforms we could find.