Guard against null DISubroutineType when checking for variadic
parameters in `constructSubprogramScopeDIE`. `DISubprograms` may lack a
type field when using LineTablesOnly emission, causing a null pointer
dereference.
Fixes#184003
Co-authored-by: Shivam Kunwar <phyBrackets@users.noreply.github.com>