unistd.h: include some missing declarations
memtst: omit the top item in the backtrace