Optimize copy_page and force word function alignment for Thumb2

Optimize copy_page by reducing the number of instructions in the
inner loop by one. This might help older platforms.

Add directives to align functions to a word boundary in Thumb2
mode.