runtime: dump the status of lockedg on error
runtime: dump the status of lockedg on error

The dumpgstatus() will dump current g's status anyway. When lockedg's
status is bad, it's more helpful to dump lockedg's status as well than
dumping current g's status twice.

Change-Id: If5248cb94b9cdcbf4ceea07562237e1d6ee28489
GitHub-Last-Rev: da814c51ff42f56fb28582f088f4d72b500061fe
GitHub-Pull-Request: golang/go#40248
Reviewed-on: https://go-review.googlesource.com/c/go/+/243097
Reviewed-by: Keith Randall <8c99c3a9284e493be632950b84cd789d08ed3e9d@golang.org>
Trust: Emmanuel Odeke <277f8eaa8c7dfbc55c17bf5e30561c1a9c45c569@gmail.com>
Run-TryBot: Emmanuel Odeke <277f8eaa8c7dfbc55c17bf5e30561c1a9c45c569@gmail.com>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>

nawawi/go,cloudflare/go,golang/go,cloudflare/go,nawawi/go,CAFxX/go,golang/go,CAFxX/go,nawawi/go,golang/go,nawawi/go,cloudflare/go,CAFxX/go,golang/go,cloudflare/go,CAFxX/go,nawawi/go,CAFxX/go,cloudflare/go,golang/go,CAFxX/go,cloudflare/go,cloudflare/go,golang/go,nawawi/go,golang/go,nawawi/go,golang/go,CAFxX/go,CAFxX/go,nawawi/go,cloudflare/go