COMMON: Separated alignment attribute and Sample type definitions

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
COMMON: Defning a type for read-only Sample and using it everywhere

This has to do with keeping the vectors into registers
instead of loading/storing everything at each function call.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>