Backport some pad macros for older perls.