ospat: fixed bugs in main.c and activitiy.c, removed libpok unused precompilation directives, added .org directive to syscall function