autoconf: check for mkstemps

mkstemps is missing on uClibc, and until recently was also missing with
musl-libc. Add an explicit check for this function.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>