Disable module loading.

The grub-emu target doesn't build modules, but instead includes
the functionality in a static build. However, many grub scripts
attempt to load modules, resulting in error messages and long
error timeouts at boot. Fix by disabling module loading.

Silence compiler warning for now unused variable with null statement.