adding case for riscv in AllocateTarget; fixes triple assertion 
adding case for riscv in AllocateTarget; fixes triple assertion 


hoangt/goblin-core,hoangt/goblin-core,tangyibin/goblin-core,tangyibin/goblin-core,hoangt/goblin-core,hoangt/goblin-core,hoangt/goblin-core,hoangt/goblin-core,tangyibin/goblin-core,hoangt/goblin-core,hoangt/goblin-core,tangyibin/goblin-core,tangyibin/goblin-core,tangyibin/goblin-core,tangyibin/goblin-core,tangyibin/goblin-core,hoangt/goblin-core,tangyibin/goblin-core,hoangt/goblin-core,hoangt/goblin-core,tangyibin/goblin-core,tangyibin/goblin-core