enable __USE_ISOC11 for C++17
stdlib.h declares aligned_alloc only under __USE_ISOC11, which C++ code
could reach only via the _GNU_SOURCE the compiler predefines. On a non
_GNU_SOURCE system, the C++ compiler should still see all C11 functions
as C++17 is based on C11 (See:
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0063r3.html)
Consequently, also enable __USE_ISOC11 if we have a C++ compiler with
C++17 or newer as standard.
Signed-off-by: Christian Pötzsch <christian.poetzsch@kernkonzept.com>
Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>