normalise \\undef dumping for perl <5.20

With this simple change, all tests pass on old and new perls. Tested on 5.20.0, 5.18.2, 5.16.3, 5.14.4, 5.12.5, 5.8.9