shm: Check `fcntl` return value
Adding seals to the memfd_create()
'ed file descriptor could
potentially fail.
Make sure to test the return value of the call to fcntl
to place the
seal.
Fixes: f6753c11 - shm: Use memfd_create when possible Signed-off-by: Olivier Fourdan ofourdan@redhat.com