Solve alignment problems by converting bitmap headers *after* they have been copied into an aligned location, and then copying the converted header back over the original header.