Common: Add 'strlen_g' to stringutils

Makeshift strlen analogue for generic character type.