pkgconfig: allow to override variables in loaded pkgconfig objects

This is used for testing