Ensure that (potentially aligned) stack objects are passed by reference.