d3d9trace: Improve D3D9 shader size computation.
d3d9trace: Improve D3D9 shader size computation.

Still not bullet proof, but better than before.

apitrace/apitrace,trtt/apitrace,trtt/apitrace,joshua5201/apitrace,tuanthng/apitrace,schulmar/apitrace,swq0553/apitrace,surround-io/apitrace,EoD/apitrace,surround-io/apitrace,apitrace/apitrace,swq0553/apitrace,trtt/apitrace,EoD/apitrace,trtt/apitrace,joshua5201/apitrace,surround-io/apitrace,schulmar/apitrace,trtt/apitrace,EoD/apitrace,schulmar/apitrace,surround-io/apitrace,surround-io/apitrace,joshua5201/apitrace,joshua5201/apitrace,apitrace/apitrace,apitrace/apitrace,schulmar/apitrace,schulmar/apitrace,EoD/apitrace,tuanthng/apitrace,tuanthng/apitrace,swq0553/apitrace,tuanthng/apitrace,EoD/apitrace,swq0553/apitrace,tuanthng/apitrace,swq0553/apitrace,joshua5201/apitrace