Stop counting bionics/gunmods as weapons

This stops some inventory UI bugs where category labels would get mixed up.

This doesn't fix any systemic issues; for that, factoring out common logic in player::sort_inv() and find_firsts() would probably be best.