Puck up changes from master to 2.065 branch

One regression fix:
[REG2.065a] Issue 12089 - std.utf.validate and inout(char[]) failts to compile

One codegen bug fix:
Issue 12095 - Wrong code with -O -inline