port/linux: make non-block shutdown read descriptor

the iotivity-lite hangs in read of shutdown descriptor.
so this fix it.
4 jobs for fixShutdown in 3 minutes (queued for 53 seconds)
Status Job ID Name Coverage
  Build
passed #4506
Android_build

00:02:37

passed #4507
doxygen

00:00:33

failed #4504
Linux_Secured_Test

00:02:19

failed #4505
Linux_Unsecured_Test

00:01:58

 
Name Stage Failure
failed
Linux_Secured_Test Build
gcc -c -o obj/server/ipadapter.o ipadapter.c -fPIC -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -ffreestanding -Os -fno-stack-protector -ffunction-sections -fdata-sections -fno-reorder-functions -fno-defer-pop -fno-strict-overflow -I./ -I../../include/ -I../../ -std=gnu99 -Wall -Wextra -Werror -pedantic  -Wl,--gc-sections -I../../deps/mbedtls/include -D__OC_RANDOM  -DOC_PKI -DOC_DYNAMIC_ALLOCATION -DOC_IDD_API -DOC_SECURITY -DOC_IPV4 -DOC_TCP -DOC_SERVER
ipadapter.c: In function 'oc_connectivity_init':
ipadapter.c:1408:7: error: implicit declaration of function 'set_nonblock_socket' [-Werror=implicit-function-declaration]
1408 | if (set_nonblock_socket(dev->shutdown_pipe[0]) < 0) {
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:279: obj/server/ipadapter.o] Error 1
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
Linux_Unsecured_Test Build
gcc -c -o obj/server/ipadapter.o ipadapter.c -fPIC -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -ffreestanding -Os -fno-stack-protector -ffunction-sections -fdata-sections -fno-reorder-functions -fno-defer-pop -fno-strict-overflow -I./ -I../../include/ -I../../ -std=gnu99 -Wall -Wextra -Werror -pedantic  -Wl,--gc-sections  -DOC_PKI -DOC_DYNAMIC_ALLOCATION -DOC_IDD_API -DOC_IPV4 -DOC_TCP -DOC_SERVER
ipadapter.c: In function 'oc_connectivity_init':
ipadapter.c:1408:7: error: implicit declaration of function 'set_nonblock_socket' [-Werror=implicit-function-declaration]
1408 | if (set_nonblock_socket(dev->shutdown_pipe[0]) < 0) {
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:279: obj/server/ipadapter.o] Error 1
Cleaning up file based variables
ERROR: Job failed: exit code 1