operations: attenpt to fix lens-distortion.c

- Never allocate a too large buffer
- Give it GeglOperationAreaFilter's flavors
- Improve the use of the allocated buffer
- Format fixes and some renaming for clarity

Still not perfect, get_required_for_output may not
be 100% bullet-proof with corner values