CGE: Pass proper size of detection entries to AdvancedMetaEngine code.

This was forgotten to update in 0d50c67a3e4790d9e3d4b5ba13c7c0975b9ac2e0.