codegen: fix i32-i64 conflict in strlen