Check upgrades when checking requires_power in MenuPowers

Fixes #1029

I've tested this with both alpha_demo and noname_mod. I was able to unlock and upgrade powers properly. In addition, I was properly blocked from unlocking Multishot when I didn't upgrade Shoot to level 5 in noname_mod.