Standards-setting bodies typically address this today through the use of standard-essential-patent policies. IEEE, for example, requires assurance from such patent holders that they will either not enforce the patent against those implementing the standard, will grant a license free of charge, or will grant a license "under reasonable rates."
https://standards.ieee.org/develop/policies/bylaws/approved-...
Not sure why improving this state of affairs would require a change in underlying patent laws. We just need standards bodies to adopt more general patent policies--which could be accomplished by preferring to use standards from orgs with better patent policies.