Use movsxd in SIGN_EXTENSION

This is what nasm ended up assembling movsx with 32 bit input to
anyway.

Keep using plain movsx for 16 bit input.

This fixes building with yasm in 64 bit mode.
Merge pull request #516 from mstorsjo/fix-yasm-64bit

Fix building with yasm in 64 bit mode