Handle possible Nullref in SentryStacktrace

frame.GetMethod().DeclaringType can be null, this patch handles that