sensorcommands: move get SDR alloc info & res dev SDR repo to new API

Rewrite "Get SDR allocinfo & resdevSDR repo" cmd to new IPMI prov API.

Tested:
1. verified ipmitool get SDR allocation info is same both before and
after the changes
2. verfied the reserve device SDR repo command
3. verified the reserve SDR command

Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: Ic933ef56117e502a6d65433e407a2d0f0b01288f
2 files changed