libfetch: use pkg-config to find openssl cflags
on mac, openssl is usually provided by Homebrew or some other third-party package management system, which means pkg-config is needed to find it.
we already use pkg-config to find openssl when building apk itself.
ref #10794 (closed)