[PATCH 5.12 107/110] certs: Move load_system_certificate_list to a common function