Fix alignment_cast for const pointers