bhyve: consider the bogus case of a negative bar idx.
This is a followup to r297472 to squelch Coverity.
CID: 1194319