[kernel][mutex] Make sure debug.h is included for DEBUGLEVEL in mutex.h

Mutex.h now conditionally does some bits based on DEBUGLEVEL, which is
defined in debug.h. Make sure debug.h is included first, or you may
end up with a situation where the struct is malformed.
[arch][arm] Fix typo in ops.h
[libc] Add implementation for isgraph and iscntrl
[lib][libc] add ispunct()
Merge remote-tracking branch 'upstream/master'