[PATCH v2 openEuler-23.09 45/46] ima: fix db size overflow and Kconfig issues