Look past bitcasts when looking for parameter debug values that are
described by frame-index loads in EmitFuncArgumentDbgValue().
In the attached test case we would be left with an undef DBG_VALUE
for the parameter without this patch.
A similar fix was done for parameters passed in registers in D13005.
This fixes PR40777.
LGTM; is this the most general place where to do this, or could we do this higher up in the function and catch more cases?