OpTestOpenBMC: refactor out common old_wait_for_X() code
OpTestOpenBMC: refactor out common old_wait_for_X() code

Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.ibm.com>

open-power/op-test-framework,open-power/op-test-framework,open-power/op-test-framework