fix Issue 9525 - [CTFE] Cannot convert &S to const(S*) at compile time
Move toObjFile to toobj.c