libjpegrecoverymap: implement appendRecoveryMap() method

Test: build, cherry-pick ag/20409161 and check the output file.
Bug: b/252835416
Change-Id: I5e10d37b94665a8a91ecdbb51d2c98856e63395c
2 files changed