Restrict commando weapon to infantry

This matches the fix we did to Tanya a while back.
Supersedes #5060.