pw_hdlc: Move pw_checksum dep to public

This fixes build errors from the include in pw_hdlc/decoder.h of
pw_checksum/crc32.h. This was introduced in 5039a81e ("pw_hdlc: Add
wire-encoded frame parser").

No-Docs-Update-Reason: bug fix

Change-Id: I413c6f685996f2cf1c31eaa4b7f701e156fe535b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/32680
Reviewed-by: Alexei Frolov <frolv@google.com>
Commit-Queue: Michael Spang <spang@google.com>
diff --git a/pw_hdlc/CMakeLists.txt b/pw_hdlc/CMakeLists.txt
index 3241a39..5f48d55 100644
--- a/pw_hdlc/CMakeLists.txt
+++ b/pw_hdlc/CMakeLists.txt
@@ -18,6 +18,7 @@
   PUBLIC_DEPS
     pw_assert
     pw_bytes
+    pw_checksum
     pw_result
     pw_router.packet_parser
     pw_rpc.common
@@ -25,7 +26,6 @@
     pw_stream
     pw_sys_io
   PRIVATE_DEPS
-    pw_checksum
     pw_log
 )