Modify perl header to match current slurm file

Note the perl software may be packaged separately from Slurm and
Slurm's xmalloc.h header file is not installed with Slurm.