[PATCH 3/5] d3dcompiler: Get rid of the "len" parameter to write_declarations().