media: mx6 camera: rewrite qops functions

Use a list in the device, not in ctx.
Rewrite the functions for safety.