exynos5410: libcamera: rewrite camera parameter handling code