hal: fix internal codec flag not initialized

The internal codec flag is checked during early of
platform_init, so move it back to the earlier place
to get it initialized.
This is to make sure correct platform configuration
file can be loaded for platforms with internal codec.

Change-Id: I5049b6103651d1c4641a9d9be85f5e244e9c637c
1 file changed