Fix link issues in full-codegen-s390
Fix miscellaneous cctest s390 issues