[mcs] Don't crash when default parameter constant member access cannot be resolved. Fixes #17354
[mcs] Remove used method