Don't crash on access decls with invalid scope specifier, PR20887.