FIX: [imx] dynamic allocation of buffer array

This does dynamic allocation of the vpu buffers.
It solves crashes I had because 20 was not enough.