gpio: bt8xx: use devm function for memory allocation