d3dx9_36: Set compilation_errors to NULL when no error encountered + tests.