vboot: move vb2_allow_recovery function to 2misc

Previously in vboot_common.c.  This function "almost" only
reads vboot2 data.  As we would like to deprecate and remove the
vboot_common.c file, find a new home for it.

BUG=b:124141368
TEST=make clean && make runtests
BRANCH=none

Change-Id: Ice980604be3537741293bb9f6d31385c1d915887
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1844596
Tested-by: Joel Kitching <kitching@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
7 files changed