mk_mmc.sh: factor out lib/flash_kernel/all.db

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>