[media] s5p-fimc: mem2mem driver refactoring and cleanup