Revert "Fix Issue 6423 - Garbage is returned from `void main()`"

This reverts commit 1fb9da66740db1d82e2d8523b88e4f96bbb4374d.