Add a (intentionally) naive async-safe implementation of strlen().

Issue: PLCR-521