make: Ensure that GLOBAL_CRATE_COUNT is initialized

GLOBAL_CRATE_COUNT must be initialized before use. We use this variable when
generating rules for proc-macros from ALLHOSTMODULES, so we need to initialize
it earlier.

Bug: None
Test: build.py generic-x86_64-test (and inspect rust-project.json)
Change-Id: I1de21897ae97cbde4b7e9c822ab0ff0da660fb75
1 file changed