Fix #1543 (add ghost check to shield gens)

Adds ghost check to ```/obj/machinery/shieldgen```, fixing #1543
Also adds ghost check to ```/obj/machinery/shield_gen``` since that needs it too.