* Fix a bug where the dcoded output is not updated
* code clean up - remove redundant if check
[ROCm/rocjpeg commit: bd09811662]
* Fix a bug where the dcoded output is not updated
* code clean up - remove redundant if check
[ROCm/rocjpeg commit: bd09811662]