Modify metadata address derivation to support more than 256 interfaces.
Remove unused index allocation in interface-ksync object