va: fix pool and allocation, particularly for DMABuf case
Fixes #1520 (closed) and #1522 (closed)
It's main problem is, when going reverse playback and return, a lot of VA Surfaces are allocated and no freed until stop. Still, this MR includes a patch to try to reuse surfaces at buffer allocation.
Edited by Víctor Manuel Jáquez Leal