selinux: correct ftruncate, fix bus error in tcc -run