Investigation of optical bistability in core-shell nanoparticles consisting of nonlocal core and magnetoplasmonic shell