NXP-11042: StringSource.getLength should report length in bytes instead of chars