media_modules: CF1 support kernel 6.12 [1/1]

PD#SWPL-188419
PD#SWPL-188420

Problem:
1.strlcpy removed from kernel 6.12
2.usage of vb2_queue num_buffers has changed
3.min_buffers_needed modified
4.platform_driver.remove prototype changed
5.dhp new funcion not compat with kernel 6.6
6.some other compilation issues
7.some spinlock used without init

Solution:
1.use strscpy instead
2.use vb2_get_num_buffers after kernel 6.8
3.use min_reqbufs_allocation after kernel 6.4
4.compat with new prototype
5.compat dhp with kernel 6.6
6.fixing compilation issues
7.initialize these spinlocks

Verify:
adt4

Change-Id: Ie9d1d871d062ff120bea8543ffde68a33f505d8c
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
63 files changed