[Refactoring] Allow calling `Expression::toLvalue` with `sc == NULL`, except `BinAssignExp` and `TemplateExp`.
fix Issue 11322 - ICE with -inline cgcs.c 221
Merge pull request #2823 from 9rnsr/fix11322

Issue 11322 - ICE with -inline cgcs.c 221