[U-Boot] [RFC][PATCH 07/15] bootm: refactor ramdisk locating code