posix_timer: Fix error path in timer_create