Rewrote os_strspn and os_strcspn

Replaced MUSL's version of strspn and strcspn because they were causing bugs
Moved functions around in klibc.c
Replaced size_t with os_size_t to avoid a naming conflict
Minor bugfixes