Fix potential crash-bug involved in examining weapons.

Signed-off-by: nppangband <nppangbanddev@verizon.net>