nine/state: fix float constant update
nine/device: allocate space for int and bool consts, too