libcamera: Set parameter sizeof from variable
libcamera: Do not consider sensor rotation when setting image rotation

This has a negative sideeffect where images are rotated more than needed. The
extra rotation angle is coming from sensor rotation.
libcamera: Do not rotate videos manually

This has a negative sideeffect where videos are rotated more than needed. The
extra rotation angle is coming from sensor rotation.
libcamera: Fix dangling pointer on exit

Make sure pointer is set to NULL on exit because if there were some threads
running a crash would be imminent.