[ardrone] use gpio API instead of system call