Fix build with lock debugging enabled, thanks to @htto
Fix mmcpart= kernel cmdline, thanks to @htto