rewrittem __masked_store_i8/16 functions so they won't segfault