firmware: Fix for memory size being reported through device tree