Fix for weapon mods with no ammo types

Apparently now it is impossible to attach weapon mods like suppressors, brass catchers, extended magazines, etc. because they don't have acceptable ammo types specified in JSON, and attaching fails due to searching for ammo type in an empty set.
Disabled this check when no ammo types are specified.