Switch from Newz to Newxz

Provide back-compat macro for pre-5.10 perls
Copy the contents of the %DB::sub entry if it exists

Closes RT#50524
Merge pull request #2 from ilmari/db-sub

Update %DB::sub