if_bge loads at bootup if you have compatible hardware. So if kldlstat doesn't list it, then it's not loaded.
Since you are patching files, you are totally on your own. I'm going to move this to offtopic since this is not officially supported by FreeNAS. (in fact the CTO has said in other threads that WOL is unsupported and has no intention of ever being supported)