avoid using the same picture buff for prev pic and curr pic

review at:
https://rbcommons.com/s/OpenH264/r/944/