[NUCLEOs] Fix issue with InterruptIn edges disable (MBED_A7 test)