Enabling Post-quantum Secure Software Reconfiguration of Heterogeneous Resource-Constrained Networked Devices