[Concept] [PATCH 09/13] console: Add the putsn() API for length-based string output