On 64-bit platforms, `struct ambapp_dev` is 36 bytes which get padded to 40
bytes.
In that scenario, substracting the size of the struct to get the address of the
parent struct yields incorrect results.
We instead use `RTEMS_CONTAINER_OF()` which will always give the correct parent
no matter the padding.