recovery: Fix compilation for non MSM target

Make mdp5 version variable scope valid for non-MSM target.

Change-Id: Ib02c7d8f79c6d29e8f14b58810f628c3a80d416d
Fix recovery reboot command by adding the init sys.powerctl property control

Change-Id: I57c4c39135eb690340c933b5f696c70020f7b31d
fix compiler warning

Change-Id: Id552abe520856cc651582476b192d0fefa76b6d3