[PATCH 1/2] spl: mmc: Factor out eMMC boot partition selection code