[SV 42447]: VMS simulate exporting symbols
[SV 41758]: Fix archive support for VMS
[SV 43405] tests/scripts/features/archives: override AR
[SV 43434] main.c (main): Handle NULL returns from ttyname()
import upstream patches, update debian/patches
    [SV 42447]: VMS simulate exporting symbols
    [SV 41758]: Fix archive support for VMS
    [SV 43405] tests/scripts/features/archives: override AR
    [SV 43434] main.c (main): Handle NULL returns from ttyname()