You can customise every weapon in your own armoury — the restriction applies only to guns you pick up during a mission.
Anything scavenged in the field keeps its default configuration, so plan your loadout before the contract rather than expecting to modify what you find on site.