Replace generated export headers with defines.

The generated headers are not used, but pic_test.h is used instead,
which depends on the definition of PIC_TEST_BUILD_DLL.
Merge topic 'INTERFACE_LIBRARY-target-type' into next

9a435e7 Replace generated export headers with defines.