Fix const correctness in imxvpucodec API

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Call TexDirectVIVMap at the beginning, when picture buffers are assigned

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>