d3dcompiler: Pass the semantic and location parameters to new_func_decl().