On $p$-integrality of instanton numbers