Use strlen() directly.

Since this code path is not declared async-safe, there's no need to implement
our own inline strlen.

Issue: PLCR-532