Enforce host aligned memory for program regions (#16590)