semaphore_timedwait() stub
Various loader fixes (result of Oracle JRE testing)