Camera2: Fix metadata alignment for double and int64 types

* camera_metadata_rational_t was only aligning to 4 bytes, we need to align to 8
* add an automated unit test to verify alignment for each type of data

Bug: 7498597
Change-Id: Ib5554d412e09b95d21933b6015db68d01a072f90
2 files changed
tree: 98b994933bd90a066dc9fe73a45874174dafe694
  2. audio_effects/
  3. audio_utils/
  4. camera/