Library: add mk[sd]temp to Posix

At least mkdtemp is not present in cppcheck whitelist.

mktemp is outdated and it's better to warn about using this but it shouldn't break leak-checking.