common: Move dram_init() declaration to common location