add memfd_create for sparc
fix compilation for arches that don't have memfd_create yet