[libc] Add a reasonably optimized version for bcmp

This is based on current memcmp implementation.

Differential Revision: https://reviews.llvm.org/D114432

GitOrigin-RevId: af059dfef5a766ceb0ac29318dfb7102131d933e
5 files changed