Make map::is_bashable check for inbounds() first.

Fixes #9051 (or, at least, seems to do so on my save).

It's still unclear to me why `monster::move` sometimes finds negative coordinates to check (notably, only negative X so far, though this might just be coincidence), but making sure we're in-bounds for the current map will certainly prevent *this* crash from occurring again.