hex: fix bug in hex parsing

The %Lu scanf pattern does account for the leading "0x". Introduced in
92179c14.

Closes #263.

Related to #261.
Merge pull request #264 from frenetic-lang/hex

fix bug in hex parsing