httputil: simplify the SystemCARootsAvailable function

Change-Id: I88d36cdc2384634a6baa49b0d663d87a5d7fcb52