Fixes the error introduced by Matthias' fix for CA-35152
Fixes the error introduced by Matthias' fix for CA-35152

The original fix replaced memory_static_max with memory_dynamic_max in too many places.

Signed-off-by: Mike McClurg <d5d39725aee3103039228164deec3c7acc6f60e3@citrix.com> and Matthias Goergens <matthias.goergens@citrix.com>

sharady/xcp-networkd,simonjbeaumont/xcp-rrdd,djs55/xcp-rrdd,djs55/xcp-networkd,djs55/xcp-rrdd,djs55/squeezed,djs55/xcp-networkd,koushikcgit/xcp-networkd,johnelse/xcp-rrdd,robhoes/squeezed,koushikcgit/xcp-rrdd,koushikcgit/xcp-rrdd,koushikcgit/xcp-rrdd,simonjbeaumont/xcp-rrdd,sharady/xcp-networkd,koushikcgit/xcp-networkd,johnelse/xcp-rrdd