fix mrb_value handling to support NaN boxing
Merge pull request #24 from matz/nan_boxing_fix

fix mrb_value handling to support NaN boxing