merge kevin@kelphead.org's mmunmap under zoneminder fix
https://rt.cpan.org/Ticket/Display.html?id=91483
croak("variable is not a string") was hitting beccause it was being
too selective with SV type for modern perls.