correctly check compilation option in python unit test
Python unit test should correctly check if the library curves was compiled with pinocchio or not. Current implementation only check if pinocchio python lib exist at runtime of the python tests.
See https://gepgitlab.laas.fr/loco-3d/curves/merge_requests/32