S5PC11X: JPEG: add ioctl to export memory configuration

This allows userspace libs3cjpeg to read memory configuration
from the kernel instead of using the hardcoded value.

Change-Id: I61248d659dbccf2e6cc656adc7fdf18773c2fcbd
aries: optimize JPEG memory configuration

Only 1MB is required for encoding of VGA JPEG images (used by FFC).
Note that thumbnail encoding function is not used.

Change-Id: Icea2fc74dfc692d98ae041b785238d6b847c4ddd
Fix Buffers Count for JPEG Optimization

Change-Id: Ie91979fb12fe38b3287634213dc3661a4651d502