openposix/.../pthread_key_create/speculative/5-1.c

* The pthread_key_create was called twice in the loop
  no wonder it failed with EAGAIN before the loop has
  reached the limit.

* Cleaned up the code a litte.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
openposix/...pthread_mutexattr_gettype/speculative/3-1

The testcase tests for optional behavior. On linux the function just
returns member of the passed attr structure and as a such cannot fail.

This commit changes the test to return UNTESTED when the call succeeded.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>