Revert "Revert "[media] s5p-mfc: optimized code related to working contextes""

This reverts commit 3231dbf9bcea92887902ff97960ec7cba52e89bc.