libgpiod and gpio port on BBB

Thanks Robert,

Since it is because of random race conditions, I use device tree overlay and load manually when boot. Seems libgpiod is happy now.

Thank you a lot.