Fix bug in gpio_set not setting reserved pins correctly

Loop going over reserved pins was not going over all entries as result of incorrect sizeof
Merge branch 'master' into can-fixes