tests: Conditionalize usage of regress typelib in test_properties

Unconditional usage of regress breaks tests when PyGObject is built without
cairo.