[PATCH openEuler-5.10 096/136] certs: Move load_system_certificate_list to a common function