x509_store: fix unreliable value of objs inside the second locked section
objs has been incorrectly passed from one critical section to another
one.
Resolves: https://scan5.scan.coverity.com/#/project-view/65138/10222?selectedIssue=
1667132
Fixes: 04589b59ef50 ("x509store: reduce lock contention in X509_STORE")
Signed-off-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28947)