fix various warnings in win64 exception code

This shouldn't change any behavior.