bus/dpaa: fix memory allocation during scan