This is useful when dealing with runtime-known alignments, eg. interfacing with C code that accepts custom allocation callbacks. Closes #9394