gamebuino port: fix flag-erasing crate bug