Perform basic error checking for file-level `ensure_loaded/1`, `use_module/1-2`, and `multifile/1` directives