[libc] add isascii and toascii implementations

adding both at once since these are trivial functions.

Reviewed By: sivachandra

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

GitOrigin-RevId: 04edcc02638bc70772baa50a74e582bb8e029872
12 files changed