fix Issue 12931 - Make const, immutable, inout, and shared illegal as function attributes on the left-hand side of a function