Syscall 114 and UNFSELF

I've implemented the missing semaphore syscall 114 (sys_semaphore_get_value). I've also added an unfself routine to remove fake SELF headers from debug packages, which are commonly used in homebrew and were not being processed by scetool (attempting to decrypt a fake SELF file causes an error).