Port jpeg_mem_dest for in-memory operations

 * Dependency for vendor code

Change-Id: I635e0d53b2bfd884aea1faee81146da633bb56e9
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>