Update GPIO library

Sync with the latest upstream