Fix api.c: disable test_EccSigFailure_cm and test_RsaSigFailure_cm when the PK algorithm they use is disabled.