Revert "headers: move the C++ check for interlocked API" This reverts commit 1013ae930cd6599dbfb181430996791731d18dc1. This has been fixed properly now, that fix only hid the issue when compiling in C mode. Signed-off-by: Martin Storsjö <martin@martin.st>