hw/integratorcp: Fix bugs in writes to CM_CTRL system register