Photon excitation and photon-blockade effects in optomagnonic microcavities