compiler: permit inlining constant expressions and expression statements

This relatively minor change increases the number of inlinable
functions/methods in the standard library from 983 to 2179.

In particular it permits inlining math/bits/RotateLeftNN.  This
restores the speed of crypto/sha256 back to what it was before the
update to 1.13beta1.

Change-Id: I5a1c68ab602a090b02a9e78e45ba813d4f7f8c5b
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194340
Reviewed-by: Than McIntosh <thanm@google.com>
3 files changed