gpio: fix the bug that interrupted callback is not called